package com.ht.constant;

/**
 * ai消息角色枚举
 */
public enum AiChatMessageRoleEnum {
    USER("用户消息","USER"),
    AI("AI消息","AI"),
    AI_CONFIRM_TOOL("AI确认工具消息","AI_CONFIRM_TOOL"),
    TOOL_RESULT("工具返回消息","TOOL_RESULT"),
    SYSTEM("系统消息","SYSTEM");

    private final String name;
    private final String code;

    AiChatMessageRoleEnum(String name, String code) {
        this.name = name;
        this.code = code;
    }

    public String getCode() {
        return code;
    }
    public String getName() {
        return name;
    }
}
